package com.yang.config.Properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * 布隆过滤器配置类
 * </p>
 * @author yang
 * @date 2023/6/25
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "bloom.filter")
public class BloomFilterProperties {

    /** 过滤器名称 */
    private String filterName;

    /** 容错率 */
    private float fpp;

    /** 预加载期望值 */
    private long expectedInsertions;

}
